package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 业务任务对象 omp_schedule_task
 *
 * @author cjie
 * @date 2022-04-11
 */
@Data
@ApiModel
public class ScheduleTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String id;

    /** 巡检任务 */
    @Excel(name = "巡检任务")
    @ApiModelProperty(value = "巡检任务")
    private String taskName;

    /** 计划id */
    @Excel(name = "计划id")
    @ApiModelProperty(value = "计划id")
    private String scheduleId;

    @ApiModelProperty(value = "计划名称")
    private String scheduleName;

    @ApiModelProperty(value = "表单Id")
    private String formId;

    @ApiModelProperty(value = "表单数据")
    private String formData;

    /** 预计执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计执行时间")
    private Date expectedTime;

    /** 任务执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "任务执行时间")
    private Date execTime;

    /** 责任人 */
//    @Excel(name = "责任人")
//    @ApiModelProperty(value = "责任人")
//    private String responsible;

    /** 任务状态 */
    @Excel(name = "任务状态")
    @ApiModelProperty(value = "任务状态")
    private String state;

    /** 任务结果 */
    @Excel(name = "任务结果")
    @ApiModelProperty(value = "任务结果")
    private String result;

    /** 字段3 */
    @Excel(name = "责任人")
    @ApiModelProperty(value = "责任人")
    private String responsible;

    /** 模块类型 */
    @Excel(name = "模块类型")
    @ApiModelProperty(value = "模块类型")
    private String classifyType;


}
